package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单统计表
 * </p>
 *
 * @author liangpeng
 * @since 2019-03-01
 */
@TableName("lisa_static_order")
public class StaticOrder extends Model<StaticOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 客户运单号
     */
	@TableField("cust_waybill_id")
	private String custWaybillId;
    /**
     * 业务主体
     */
	private String ciams;
    /**
     * 客户
     */
	@TableField("customer_id")
	private String customerId;
    /**
     * 商品车型
     */
	private String carTypeName;
    /**
     * 数量
     */
	private Integer num;
    /**
     * 主运输方式
     */
	@TableField("main_transport_mode")
	private String mainTransportMode;
    /**
     * 打印日期
     */
	@TableField("print_date")
	private Date printDate;
    /**
     * 回单日期
     */
	@TableField("return_date")
	private Date returnDate;
    /**
     * 起运地
     */
	@TableField("start_addr")
	private String startAddr;
    /**
     * 目的地
     */
	@TableField("end_addr")
	private String endAddr;
    /**
     * 标准车型
     */
	@TableField("standard_car_name")
	private String standardCarName;
    /**
     * 目的省份
     */
	@TableField("end_province")
	private String endProvince;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;
    /**
     * 处理状态
     */
	@TableField("deal_status")
	private Integer dealStatus;
    /**
     * 处理时间
     */
	@TableField("deal_time")
	private Date dealTime;
    /**
     * 来源
     */
	private String domain;
    /**
     * 是否删除
     */
	@TableField("is_delete")
	private Integer isDelete;
    /**
     * 订单状态
     */
	@TableField("order_status")
	private String orderStatus;
    /**
     * 回单状态
     */
	@TableField("pod_status")
	private String podStatus;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public String getCustWaybillId() {
		return custWaybillId;
	}

	public void setCustWaybillId(String custWaybillId) {
		this.custWaybillId = custWaybillId;
	}

	public String getCiams() {
		return ciams;
	}

	public void setCiams(String ciams) {
		this.ciams = ciams;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCarTypeName() {
		return carTypeName;
	}

	public void setCarTypeName(String carTypeName) {
		this.carTypeName = carTypeName;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getMainTransportMode() {
		return mainTransportMode;
	}

	public void setMainTransportMode(String mainTransportMode) {
		this.mainTransportMode = mainTransportMode;
	}

	public Date getPrintDate() {
		return printDate;
	}

	public void setPrintDate(Date printDate) {
		this.printDate = printDate;
	}

	public Date getReturnDate() {
		return returnDate;
	}

	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}

	public String getStartAddr() {
		return startAddr;
	}

	public void setStartAddr(String startAddr) {
		this.startAddr = startAddr;
	}

	public String getEndAddr() {
		return endAddr;
	}

	public void setEndAddr(String endAddr) {
		this.endAddr = endAddr;
	}

	public String getStandardCarName() {
		return standardCarName;
	}

	public void setStandardCarName(String standardCarName) {
		this.standardCarName = standardCarName;
	}

	public String getEndProvince() {
		return endProvince;
	}

	public void setEndProvince(String endProvince) {
		this.endProvince = endProvince;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getPodStatus() {
		return podStatus;
	}

	public void setPodStatus(String podStatus) {
		this.podStatus = podStatus;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticOrder{" +
			", id=" + id +
			", sysOrderId=" + sysOrderId +
			", custWaybillId=" + custWaybillId +
			", ciams=" + ciams +
			", customerId=" + customerId +
			", carTypeName=" + carTypeName +
			", num=" + num +
			", mainTransportMode=" + mainTransportMode +
			", printDate=" + printDate +
			", returnDate=" + returnDate +
			", startAddr=" + startAddr +
			", endAddr=" + endAddr +
			", endProvince=" + endProvince +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			", domain=" + domain +
			", isDelete=" + isDelete +
			", orderStatus=" + orderStatus +
			", podStatus=" + podStatus +
			"}";
	}
}
